package com.mt.api.modules.manager;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mt.api.modules.domain.AppSku;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: plover
 * @Date: 2022-01-02
 * @Description:
 */
public interface ISkuManager extends IService<AppSku> {

    AppSku getSkuById(Integer id);

    List<AppSku> getListByCargoId(Integer cargoId);

    AppSku saveSkuIfNotExist(Integer cargoId, String cargoNo, String color, String size, BigDecimal retailPrice, BigDecimal wholesalePrice);


}
